﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="PortalSetting.ascx.cs"
    Inherits="Portal.Administrator.Portals.PortalSetting" %>
<%@ Register Assembly="Framework.WebControl" Namespace="Framework.WebControls"
    TagPrefix="cc3" %>
<%@ Register Assembly="Framework.Module.MultiLanguage" Namespace="Framework.Module.MultiLanguage.WebControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="Framework.FilePickerControl" Namespace="Framework.FilePicker"
    TagPrefix="cc2" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:UpdatePanel ID="upanelRoleManagement" runat="server" UpdateMode="Conditional"
    RenderMode="Inline">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnUpdate" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <asp:Panel ID="pnlAdmin" runat="server">
            <table border="0" cellpadding="2" cellspacing="2" style="width: 100%">
                <tr>
                    <td style="width:200">
                        <asp:Label ID="lblPortal" runat="server" Text="Cổng:"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="dropPortal" runat="server" Width="242px" DataValueField="PortalID" DataTextField="Portal_Name" AutoPostBack="True" >
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblHomePage" runat="server" Text="Trang chủ" ></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="dropTabs" runat="server" Width="242px" DataValueField="TabID"
                            DataTextField="TabName">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tìm kiếm:</td>
                    <td>
                        <asp:DropDownList ID="dropSearchTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang chuyên mục:</td>
                    <td>
                        <asp:DropDownList ID="dropZoneTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tin:</td>
                    <td>
                        <asp:DropDownList ID="dropContentTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        Chọn Portal active</td>
                    <td>
                        <asp:DropDownList ID="dropPortalActive" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        Chọn Chuyên mục Active</td>
                    <td>
                        <asp:DropDownList ID="dropZoneActive" runat="server" Width="242px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        Style cho Portal:</td>
                    <td>
                        <asp:DropDownList ID="dropStyle" runat="server" Width="242px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang liệt kê sự kiện:</td>
                    <td>
                        <asp:DropDownList ID="dropEvent" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tin trong sự kiện:</td>
                    <td>
                        <asp:DropDownList ID="dropNewsInEvent" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang liệt kê album:</td>
                    <td>
                        <asp:DropDownList ID="dropAlbum" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang chi tiết album:</td>
                    <td>
                        <asp:DropDownList ID="dropAlbumDetail" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang Bonus:</td>
                    <td>
                        <asp:DropDownList ID="dropBonus" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang Bonus chi tiết:</td>
                    <td>
                        <asp:DropDownList ID="dropBonusDetail" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="pnlUser" runat="server">
            <table border="0" cellpadding="2" cellspacing="2" style="width: 100%">
                <tr>
                    <td style="width:200">
                        <asp:Label ID="lblContactName" runat="server" Text="Contact Mail" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtContactMail" runat="server" Width="242px" ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblPortalName" runat="server" Text="Site name" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtSiteName" runat="server" Width="242px" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailServer" runat="server" Text="Mail Server" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailServer" runat="server" Width="200px" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailUser" runat="server" Text="Mail User" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailUser" runat="server" Width="200px" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailPassword" runat="server" Text="Mail Password" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailPwd" runat="server" Width="200px" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCopyRight" runat="server" Text="Thông tin bản quyền:" ></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtCopyRight" runat="server" Height="116px" TextMode="MultiLine" Width="350" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <cc3:ButtonRoleEdit ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="Cập nhật" />
                        <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label></td>
                </tr>
            </table>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>
